<template>
	<view class="box">



		<u-button @click="change">半屏充电勾选带手机</u-button>
		<u-button @click="changes">半屏充电勾选无手机</u-button>
		

	</view>
</template>

<script setup>
	export default {
		data() {
			return {


			};
		},

		onLoad(option) {

		
		},
		methods: {
			
		
			change() {
			my.openEmbeddedMiniProgram ({
			      appId: '2021004135681441',
			      path: 'pages/half/half?a=6963cb578418e439cbf4bc62f86ee5b6&mobile=18583706680',
			      success: (res) => {
			        console.log(JSON.stringify(res))
			      },
			      fail: (res) => {
			        console.log(JSON.stringify(res))
			      }
			    });
			},
			changes(){
				my.openEmbeddedMiniProgram ({
				      appId: '2021004135681441',
				      path: 'pages/half/half?a=6963cb578418e439cbf4bc62f86ee5b6',
				      success: (res) => {
				        console.log(JSON.stringify(res))
				      },
				      fail: (res) => {
				        console.log(JSON.stringify(res))
				      }
				    });
			}
		
		},


		onShow() {

		}
	}
</script>

<style lang="scss" scoped>

</style>